<!-- start 优惠券管理页面-弹出层 -->
<style>
    div.autocreate_button {
        width: 90%;
        background: #2f8feb;
        margin:0 auto;
        height: 20px;
        padding: 8px;
        color:#fff;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        border-radius: 2px;
        cursor: default;
        transition: all linear .2s;
    }
    div.autocreate_button:hover {
        background-color: #2672bb;
    }
    #ticket_data_list td {
        padding:0px;
    }
    .preferential_ticket {
        min-width: 200px;
        margin: 10px;
        display: none;
        border-radius: 2px;
        background: #cdebf6;
        box-shadow: 0 2px 5px #999;
        transition: all linear .4s;
    }
    .ticket_header {
        height:40px;
        line-height: 40px;
        border-top-radius: 5px;
        padding:0 8px;
        border-bottom: 1px dashed #c0c0c0;
    }
    .ticket_header .ticket_no {
        float: right;
        font-size: 18px;
        color:#001e60;
    }
    .ticket_no > small {
        font-size: 12px;
        margin:0 5px;
    }
    .ticket_header .ticket_title {
        float: left;
    }
    .ticket_content {
        text-align: center;
    }
    .ticket_content .ticket_code span {
        display: block;
        padding: 8px;
        color:#001e60;
        font-size: 16px;
        font-weight: normal;
    }
    .ticket_content img {
        width: 180px;
        margin:15px;
        text-align: center;
    }
    div.k-window-content,.hint-content{
        overflow:hidden;
    }
</style>
<div id="coupon_edit_frame">
    <div class="hint-content">
        <div class="workTicket-info" style="width:100%;display:inline-block;">
            <div class="hint-text">
                <label>优惠项目：</label>
                <input id="preferentialCode" data-bind="value:preferentialCode" type="text" />
            </div>
            <div class="hint-text">
                <label>优惠码类型：</label>
                <input id="preferentialPhysicalType" type="text" />
            </div>
            <div class="hint-text">
                <label>优惠开始时间：</label>
                <input class="k-textbox" id="beginTime" disabled type="text"/>
            </div>
            <div class="hint-text">
                <label>优惠结束时间：</label>
                <input class="k-textbox" id="endTime" disabled type="text"/>
            </div>
            <div class="hint-text">
                <label>生成数量：</label>
                <input id="autoCreateNumber" type="number" min="1" max="9999" value="100" />
            </div>
            <br>
            <div class="autocreate_button" data-bind="click:autocreate_btn">准备好了，开始生成</div>
        </div>
        <div class="workRecord-info">
            <div class="layerTitle left"><span>卡券序列</span></div>
            <div width="100%" style="height:333px; overflow-y: scroll" id="ticket_data_list">

            </div>
        </div>
        <div class="basicInfo-btn">
            <button class="save" data-bind="click:save_btn">确定</button>
            <button class="cancel" data-bind="click:cancel">取消</button>
        </div>
    </div>
</div>
<!-- end 优惠券管理页面-弹出层 -->
<script src="views/parkLotCenter/discountManage/js/QRCode.js"></script>
<script src="views/parkLotCenter/discountManage/js/jBarcode.min.js"></script>
<script>
    var couponEdit = new CouponEdit($('#coupon_edit_frame'));
</script>